package com.zhou.JavaAndroidFirm.widget;

import android.graphics.drawable.Drawable;
import android.text.Html;
import android.widget.TextView;

/**
 * @author Administrator
 * @date 2018/8/20 0020
 * @des
 */
public class URLImageGetter implements Html.ImageGetter {

    private TextView mTextView;
    private int mMaxPicWidth;
    private String mContent;

    public URLImageGetter(TextView mTextView, int mMaxPicWidth, String mContent) {
        this.mTextView = mTextView;
        this.mMaxPicWidth = mMaxPicWidth;
        this.mContent = mContent;
    }

    public void reSet(int mMaxPicWidth, String mContent) {
        this.mMaxPicWidth = mMaxPicWidth;
        this.mContent = mContent;
    }

    @Override
    public Drawable getDrawable(String s) {
        return null;
    }

}
